<%-- 
    Document   : index
    Created on : Nov 22, 2012, 11:42:41 PM
    Author     : Yo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <BODY>
        <FORM METHOD="POST" ACTION="Servlet_login">
            <%
                if (request.getParameter("error") != null) {
            %>
            Login failed. Please try again
            <BR><HR>
            <%            }
            %>
            <TABLE>
                <TR>
                    <TD>User Name</TD>
                    <TD><INPUT TYPE=TEXT NAME="userName"></TD>
                </TR>
                <TR>
                    <TD>Password</TD>
                    <TD><INPUT TYPE=PASSWORD NAME="password"></TD>
                </TR>
                <TR>
                    <TD COLSPAN="2"><INPUT TYPE=SUBMIT VALUE="Login"></TD>
                </TR>
            </TABLE>
        </FORM>
    </BODY>
</html>
